package com.changfeng.service.impl;

import com.changfeng.bean.dto.vo.ProvinceListVO;
import com.changfeng.dao.ReatailersProvinceMapper;
import com.changfeng.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceServiceImpl implements ProvinceService {

    @Autowired
    private ReatailersProvinceMapper reatailersProvinceMapper;

    @Override
    public List<ProvinceListVO> findByCountry(Integer countryId) {
        return reatailersProvinceMapper.selectByCountryId(countryId);
    }
}
